import { combineReducers } from 'redux';
import { connectRouter } from 'connected-react-router';

import loginReducer from '@/views/LoginRedux';
import appReducer from '@/views/AppRedux';

export default history => combineReducers({
  router: connectRouter(history),
  login: loginReducer,
  app: appReducer,
});
